package cn.iocoder.yudao.module.ems.controller.admin.equipment.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 设备分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EquipmentPageReqVO extends PageParam {

    @ApiModelProperty(value = "资产编号")
    private String assetNo;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "类别")
    private Long typeId;

    @ApiModelProperty(value = "设备状态")
    private Integer eqStatus;

    @ApiModelProperty(value = "使用状态")
    private Integer usageStatus;

    @ApiModelProperty(value = "设备等级")
    private Integer level;

    @ApiModelProperty(value = "序列号")
    private String serialNo;

    @ApiModelProperty(value = "负责人")
    private Long personLiable;

    @ApiModelProperty(value = "所属部门")
    private Long deptId;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "供应商")
    private Long supplierId;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;

}
